package com.yx.modules.api.service.impl;

import com.yx.modules.api.dao.SysAuthBookDao;
import com.yx.system.entity.SysAuthBook;
import com.yx.modules.api.service.SysAuthBookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class SysAuthBookServiceImpl implements SysAuthBookService {

	@Autowired
	private SysAuthBookDao authBookDao;
	
	@Override
	public SysAuthBook queryObject(String id){
		return authBookDao.queryObject(id);
	}
	
	@Override
	public List<SysAuthBook> queryList(Map<String, Object> map){
		return authBookDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return authBookDao.queryTotal(map);
	}
	
	@Override
	public void save(SysAuthBook authBook){
		authBookDao.save(authBook);
	}
	
	@Override
	public void update(SysAuthBook authBook){
		authBookDao.update(authBook);
	}
	
	@Override
	public void delete(String id){
		authBookDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		authBookDao.deleteBatch(ids);
	}

	@Override
	public List<SysAuthBook> findAll() {
		return authBookDao.findAll();
	}

}
